package com.party.business.service.impl;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.party.business.mapper.FieldShowMapper;
import com.party.business.domain.FieldShow;
import com.party.business.service.IFieldShowService;

/**
 * 字段显示Service业务层处理
 *
 * @author ruoyi
 * @date 2025-06-13
 */
@Service
public class FieldShowServiceImpl extends ServiceImpl<FieldShowMapper,FieldShow>  implements IFieldShowService
{
    @Autowired
    private FieldShowMapper fieldShowMapper;

    /**
     * 查询字段显示
     *
     * @param id 字段显示主键
     * @return 字段显示
     */
    @Override
    public FieldShow selectFieldShowById(String id)
    {
        return fieldShowMapper.selectFieldShowById(id);
    }

    /**
     * 查询字段显示列表
     *
     * @param fieldShow 字段显示
     * @return 字段显示
     */
    @Override
    public List<FieldShow> selectFieldShowList(FieldShow fieldShow)
    {
        return fieldShowMapper.selectFieldShowList(fieldShow);
    }

    /**
     * 新增字段显示
     *
     * @param fieldShow 字段显示
     * @return 结果
     */
    @Override
    public int insertFieldShow(FieldShow fieldShow)
    {
            return fieldShowMapper.insertFieldShow(fieldShow);
    }

    /**
     * 修改字段显示
     *
     * @param fieldShow 字段显示
     * @return 结果
     */
    @Override
    public int updateFieldShow(FieldShow fieldShow)
    {
        return fieldShowMapper.updateFieldShow(fieldShow);
    }

    /**
     * 批量删除字段显示
     *
     * @param ids 需要删除的字段显示主键
     * @return 结果
     */
    @Override
    public int deleteFieldShowByIds(String[] ids)
    {
        return fieldShowMapper.deleteFieldShowByIds(ids);
    }

    /**
     * 删除字段显示信息
     *
     * @param id 字段显示主键
     * @return 结果
     */
    @Override
    public int deleteFieldShowById(String id)
    {
        return fieldShowMapper.deleteFieldShowById(id);
    }
}
